﻿namespace TestModel.Model
{
    public abstract class LocalAccess<T> : IManageAccess<T>
    {
        /// <summary>
        /// 资源路径
        /// </summary>
        public string Path;
        /// <summary>
        /// 资源
        /// </summary>
        public List<T>? Access;
        /// <summary>
        /// 构造方法
        /// </summary>
        /// <param name="path">资源路径</param>
        public LocalAccess(string path)
        {
            Path = path;
            Load();
        }
        public abstract void Load();
        public abstract void Save();
    }
}
